package com.mmall.service;

import com.mmall.param.RoleParam;
import com.mmall.pojo.SysRole;

import java.util.List;

/**
 * @Author wangtengyu
 * @Create 2018-03-15-13:39
 */
public interface ISysRoleService {
    void save(RoleParam roleParam);

    void update(RoleParam roleParam);


    List<SysRole> getAll();

    void delete(int roleId);

    List<SysRole> getRoleListByAclId(int aclId);

    List<SysRole> getRoleListByUserId(int userId);
}
